package com.kk.service;

import com.kk.hystrix.ProviderServiceHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 *  @author kevin
 *  @date: 2019/10/30 15:50
 *
 */
@FeignClient(value = "kk-cloud-service-provider", fallback = ProviderServiceHystrix.class)
public interface ProviderService {

    @GetMapping("provider")
    public String provider();
}
